<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="${ bp }/static/img/icon.png" type="image/x-icon">
    <link rel="stylesheet" href="${ bp }/static/layui/css/layui.css">
</head>

<body>
<%--添加表单--%>
<div class="layui-container" >

    <%-- 添加表单 --%>
    <form class="layui-form" style="margin-top: 50px;">
        <div class="layui-form-item">
            <label class="layui-form-label">游戏名称</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="${ comment.name }" readonly>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户名称</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="${ comment.username }" readonly>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">评论内容</label>
            <div class="layui-input-block">
                <div id="content">${ comment.content }</div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发布时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="${ comment.create_time }" readonly>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">好评</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="${ comment.well }" readonly>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">差评</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="${ comment.worse }" readonly>
            </div>
        </div>
    </form>


</div>

</body>
</html>
